export function listoption1(th) {
  return {
    selection: true,
    sortable:true,
    addBtn: false,
    delBtn: false,
    refreshBtn:false,
    columnBtn:false,
    border:true,
    align: 'center',
    menu:false,
    headerAlign: 'center',
    column: [
    // {width: 150, label: "tvm编号", prop: "tvmCode", type: 'select', formslot: true,cell: true, disabled: th.showType == 3},
      {width: 150, label: "接收纸币",
      prop: "receiveNotes", type: 'number',precision:2,cell: true, disabled: th.showType == 3},
      {width: 150, label: "接收硬币",
      prop: "receiveCoin", type: 'number',precision:2,cell: true, disabled: th.showType == 3},
      {width: 150, label: "纸币找零", prop: "noteChangen", type: 'number',precision:2,cell: true, disabled: th.showType == 3},
      {width: 150, label: "硬币找零", prop: "coinChange", type: 'number',precision:2,cell: true, disabled: th.showType == 3},
      {width: 150, label: "故障退款", prop: "faultRefundAmount", type: 'number',precision:2, cell: true,disabled: th.showType == 3},
      {width: 150, label: "接收总计", prop: "receiveTotalMoney", slot: true, disabled: th.showType == 3},
      {width: 150, label: "售票总计", prop: "sellTicketTotalMoney", type: 'number',precision:2,cell: true, disabled: th.showType == 3},
      {width: 150, label: "充值总计", prop: "rechargeMoney", type: 'number',cell: true,precision:2, disabled: th.showType == 3},
      {width: 150, label: "找零总计", prop: "changeTotalMoney", slot: true, disabled: th.showType == 3},
      // {width: 150, label: "开始时间", prop: "startTime", type: 'date', valueFormat: 'yyyy-MM-dd HH:mm:ss',cell: true, disabled: th.showType == 3},
      // {width: 150, label: "结束时间", prop: "endTime", type: 'date', valueFormat: 'yyyy-MM-dd HH:mm:ss', cell: true,disabled: th.showType == 3},
  ]
};
};



export function listoption2(th)
{
  return {
    selection: true,
    addBtn: false,
    delBtn: false,
    refreshBtn:false,
    columnBtn:false,
    border:true,
    menu:false,
    sortable: true,
    align: 'center',
    headerAlign: 'center',
    column: [
      // {
      //   width: 150, label: "tvm编号",
      //   prop: "tvmCode", type: 'select', formslot: true,cell: true, disabled: th.showType == 3
      // },
      { label: "故障退款",
        prop: "faultRefundAmount", type: 'number',cell: true,precision:2, disabled: th.showType == 3
      },
      {label: "充值总计",
        prop: "rechargeMoney", type: 'number', cell: true,precision:2,disabled: th.showType == 3
      },
      { label: "售票总计",
        prop: "sellTicketMoney", type: 'number',cell: true, precision:2,disabled: th.showType == 3
      },
      // {
      //   width: 150, label: "开始时间",
      //   prop: "startTime", type: 'date', valueFormat: 'yyyy-MM-dd HH:mm:ss',cell: true, disabled: th.showType == 3
      // },
      // {
      //   width: 150, label: "结束时间",
      //   prop: "endTime", type: 'date', valueFormat: 'yyyy-MM-dd HH:mm:ss', cell: true,disabled: th.showType == 3
      // },
    ]
  }
}
